<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>加载|博客导航</title>
<meta name="keywords" content="博客,博客导航,导航,wordpress,bokedaohang" />
<meta name="description" content="bokedaohang网站以关注互联网原创博客为主要方向，致力于为广大网友提供最为优质的专业博客导航服务" />
<meta name="author" content="bokedaohang" />
<meta name="copyright" content="www.bokedaohang.com" /><link href="http://www.bokedaohang.com/favicon.ico" rel="shortcut icon">
<link type="text/css" href="css/style.css" rel="stylesheet"/>
</head>
<body>
<div id="main">
<?php 
	require 'conn.php';
	$sql = mysql_query("select * from links where id=$_GET[id]");
	$info = mysql_fetch_array($sql);
?>
	<div id="showurl">
		<p><img src="images/loading.gif" /></p>
		<p>正在努力的为您加载。。。</p>
		<p><span>【<?php echo $info['name']?>】被访问了<?php echo $info['visit']?>次</span></p>
		<p>打开的时间取决于该博客的链接速度和您当前的网速，请耐心等待。或点击下面直接访问。</p>
		<p>访问：<a href="<?php echo $info['link']?>"><?php echo $info['name']?></a>  网址：<a href="<?php echo $info['link']?>"><?php echo $info['link']?></a></p>
		<p>简介：<?php echo $info['info'];?></p>
		<p>打不开？<a href="">报告错误</a></p>
	</div>
	<img src="images/content_bottom_wide.png "/>
</div>
</body>
</html>
<script type="text/javascript">
	setTimeout("window.opener=null;window.location.href='<?php echo $info['link']?>'",600);
</script>
<?php
$visit = $info[visit]+1;
mysql_query("update links set visit='$visit' where id=$_GET[id]");
?>
